package com.TripMate.system.mapper;

import com.TripMate.system.model.dto.trips.TripsQueryRequest;
import com.TripMate.system.model.entity.Trips;
import com.TripMate.system.model.vo.TripsVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
* @author dongmianyan
* @description 针对表【trips(行程表)】的数据库操作Mapper
* @createDate 2024-11-28 16:13:53
* @Entity generator.domain.Trips
*/
public interface TripsMapper extends BaseMapper<Trips> {

    List<TripsVO> getQueryByAll(Page<TripsVO> pageParam, TripsQueryRequest tripsQueryRequest);

    List<TripsVO> getQueryByMy(Page<TripsVO> pageParam, TripsQueryRequest tripsQueryRequest, Long userId);

    TripsVO getQueryById(Integer id);

    List<TripsVO> getlistByAll(Page<TripsVO> pageParam, TripsQueryRequest tripsQueryRequest);
}




